define(function (require, exports) {
	require('ui');
	require('ui-css');
	var util = require('lm-util');


	var tpl = {};
	tpl.dialog = '<div title="{{title}}"><p>{{content}}</p></div>';

	exports.dialog = function(title,content){
		$(util.parseHtml(tpl.dialog,{title:title, content:content})).dialog();
	}
});